package com.shycloud.mido.music.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.music.domain.MisUserBuyCollection;
import com.shycloud.mido.music.vo.UserCollectionVO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MisUserBuyCollectionMapper extends BaseMapper<MisUserBuyCollection> {

	Integer checkIsByCollection(@Param("memberId") String memberId, @Param("collectionId") int collectionId);

	IPage<UserCollectionVO> getBuyCollectionPage(@Param("page") Page page, @Param("memberId") String memberId);

	Boolean updateIsShowByMemberId(@Param("memberId") String memberId);

	List<UserCollectionVO> getByCollectionListHomePageShow(@Param("memberId") String memberId);
}